package com.xxq.gulimall.product.dao;

import com.xxq.gulimall.product.entity.CategoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品三级分类
 * 
 * @author xxq
 * @email 1607903138@qq.com
 * @date 2022-04-28 20:20:13
 */
@Mapper
public interface CategoryDao extends BaseMapper<CategoryEntity> {
    // 获取分类完整路径名 "xxx/xxx/xxx"
    String queryCatelogName(@Param("catelogId") Long catelogId);
    // 获取分类完整路径 Long[1, 33, 443]
    String queryCatelogPath(@Param("catelogId") Long catelogId);
}
